<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
        <title>File upload form</title>
		<script language="javascript">
				
		</script>
	</head>
	<body style="background-color:#f6f6f6;">
		<?php
				if(isset($error))
				{
						echo "<script language=\"javascript\">parent.GolderMarkets.AdminMgt.callback_upload_logo('".json_encode(array('error'=>$error))."');</script>";
				}
				elseif(isset($upload_data))
				{
						echo "<script language=\"javascript\">parent.GolderMarkets.AdminMgt.callback_upload_logo('".json_encode($upload_data)."');</script>";
				}
				
				$this->load->helper('form');
				echo form_open_multipart('admin/upload_logo', array('id' => 'upload_form'));
				echo form_upload(array(
							'name'        => 'logo',
							'id'          => 'logo',
				));
				echo form_close();
				die();
		?>
	</body>
</html>
